package cn.tedu.charging.account.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 充电站的实体类
 *
 * @author wyy
 * @version 1.0
 */
@NoArgsConstructor
@Data
@TableName("account_chargingStation")
public class ChargingStation implements Serializable {
    /**
     * 数据ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 地址
     */
    private String address;

    /**
     * 经度
     */
    private Double longitude;

    /**
     * 纬度
     */
    private Double latitude;

    /**
     * 充电站名字
     */
    private String name;

    /**
     * 标签
     */
    private String tag;

    /**
     * 停车收费
     */
    private String parkingFree;

    /**
     * 营业时间
     */
    private String openingHours;

    /**
     * 服务电话
     */
    private String serveCall;

    public ChargingStation(Long id, Double latitude, Double longitude) {
        this.id = id;
        this.latitude = latitude;
        this.longitude = longitude;
    }

}
